/**
 * Created by tongjunshui on 17/6/11.
 */

var dbDao = require('./dbBase.js');
var table_smsPinVerify = "create table if not exists smsPinVerify ( \
    phone varchar(255) not null, \
    pin varchar(255),  /*密码*/ \
    created int, /*时间*/ \
    PRIMARY KEY (`phone`) \
    )comment = '密码验证'"

var initTable=function(){
    dbDao.querys(table_smsPinVerify, [], function (err, result) {
        if (err) {
            //console.log('error');
        } else {
            //console.log('success create table');
        }
    });
}
module.exports=initTable;